package com.xvyy.tingshu.search.client;

import com.xvyy.tingshu.search.client.impl.SearchDegradeFeignClient;
import com.xvyy.tingshu.common.result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * <p>
 * 产品列表API接口
 * </p>
 *
 * @author qy
 */
@FeignClient(
        contextId = "searchFeignClient",
        path = "/api/inner/search",
        value = "service-search",
        fallback = SearchDegradeFeignClient.class)
public interface SearchFeignClient {



    @GetMapping("/preHitRank")
    Result preHitRank();
}